﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Web;

namespace gAMS_Sacombank.Web.Services.AssetManagement.Interfaces.AssCommon
{
    [ServiceContract]
    public interface IGoodsType
    {
        [OperationContract]
        IEnumerable<CM_GOODSTYPE> GetByAllGoodsType();

        [OperationContract]
        String InsertGoodsType(CM_GOODSTYPE data);

        [OperationContract]
        String UpdateGoodsType(CM_GOODSTYPE data);

        [OperationContract]
        String DeleteGoodsType(string id);

        [OperationContract]
        IEnumerable<CM_GOODSTYPE> GetByTopGoodsType(string _top, string _where, string _order);

        [OperationContract]
        String ApproveGoodsType(CM_GOODSTYPE data);
    }
}